package com.example.administrator.maizuofilm.mine.other;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.administrator.maizuofilm.R;

import butterknife.ButterKnife;
import butterknife.InjectView;
import butterknife.OnClick;

public class Login extends Activity {

    @InjectView(R.id.login_back)
    ImageView loginBack;
    @InjectView(R.id.textView1)
    TextView textView1;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
        ButterKnife.inject(this);
    }

    @OnClick({R.id.login_back, R.id.textView1})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.login_back:
                Login.this.finish();
                break;
            case R.id.textView1:
                Login.this.finish();
                break;
        }
    }
}
